package com.yyds.mapper;

import com.yyds.pojo.VaccineVaccinator;
import com.yyds.vo.VaccineVaccinatorVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VaccineVaccinatorMapper {

    //添加人员接种信息
    Integer insertVaccineVaccinatorMapper(VaccineVaccinator vaccinator);

    //删除人员接种信息
    Integer deleteVaccineVaccinatorMapper(Integer vaccinator_id);
    //删除部分人员接种信息
    Integer deleteAllVaccineVaccinatorMapper(List<Integer> list);

    //修改人员接种信息
    Integer updateVaccineVaccinatorMapper(@Param("oldVaccinator") VaccineVaccinator oldVaccinator,@Param("newVaccinator") VaccineVaccinator newVaccinator);

    //查询某个人员接种信息
    VaccineVaccinator querySingleVaccineVaccinatorMapper(Integer vaccinator_id);

}
